Skip to content

fix: improve timeout error messages and document TSC_CHUNK_SIZE_MB#1781

Open
jacalata wants to merge 3 commits into
developmentfrom
jac/improve-chunked-upload-errors
Open

fix: improve timeout error messages and document TSC_CHUNK_SIZE_MB#1781
jacalata wants to merge 3 commits into
developmentfrom
jac/improve-chunked-upload-errors

Conversation

@jacalata

Copy link
Copy Markdown
Contributor

Summary

  • When a 504 occurs during a chunked upload with as_job=True, the error message previously said nothing useful. Now it points users at TSC_CHUNK_SIZE_MB to reduce chunk size
  • Documenting TSC_CHUNK_SIZE_MB in the publish docstrings for both workbooks and datasources — previously undiscoverable
  • Applies to both workbooks.publish and datasources.publish

Relates to #1387

Test plan

  • Existing publish tests pass
  • Verify 504 on async publish produces the new message

🤖 Generated with Claude Code

jacalata and others added 3 commits June 16, 2026 23:22
When a 504 occurs during an async chunked upload, the error message now
hints at reducing TSC_CHUNK_SIZE_MB rather than suggesting async mode
(which the user is already using). Also document the env var in the
publish docstrings for workbooks and datasources.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant